package nm.util.alarmclock;

import java.io.Serializable;
import javax.swing.JSpinner;
import javax.swing.SpinnerNumberModel;

public class AlarmGUIHour extends JSpinner implements Serializable {
	public static final long serialVersionUID = 1L;
	
	public AlarmGUIHour(int val) {
		super(new SpinnerNumberModel(
				val, AlarmSettings.HOUR_MIN, AlarmSettings.HOUR_MAX, 1));
		setEditor(new JSpinner.NumberEditor(this, "00"));
	}
	
}//end AlarmGUIHour
